package pojo;

public class Jap implements Person{
    String name;

    public Jap(String name) {
        this.name = name;
    }

    public Jap() {

    }

    @Override
    public String toString() {
        return "Jap{" +
                "日本人='" + name + '\'' +
                '}';
    }

    @Override
    public void eat() {
        System.out.println("我是日本人，我吃粑粑");
    }
}
